package org.neuedu.his.mapper;

import org.apache.ibatis.annotations.Param;
import org.neuedu.his.model.Role;
import org.neuedu.his.model.User;
import org.neuedu.his.model.UserBean;

import java.util.List;

public interface UserMapper {
    int insert(User record);

    int insertSelective(User record);

    User loadUserByUsername(String s);

    List<Role> getRolesByID(Integer id);

    List<UserBean> getNeeRuleUsers(@Param("deptId") int deptId, @Param("rlId") int registLevelId);

}